package cn.tedu._03vehicle.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum statuscode
{
    SUCCESS(2000,"操作成功"),
    FAIL(3000,"操作失败"),
    USERNAME_EXISTS(1000,"用户名已存在"),
    USERNAME_PASSWORD_ERROR(1001,"用户名或密码错误"),
    NOT_LOGIN(1002,"用户未登录"),
    THROWABLE_ERROR(9999,"服务器异常"),
    VAILDATED_ERROR(1003,"数据验证失败"),
    FILE_SIZE_ERROR(1004,"文件大小超出限制");
    private Integer state;
    private String message;
}
